package com.ruoyan.mapper;

import com.ruoyan.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @Package: com.ruoyan.mapper
 * @ClassName: UserMapper
 * @Author: ruoyan1998
 * @CreateTime: 2021/5/21 16:02
 * @Description:
 */
@Mapper
public interface UserMapper
{
    User queryUserByNameAndPassword(@Param("name") String name, @Param("pwd") String password);

    User queryUserByName(@Param("name") String name);
}
